package com.ruoyi.project.his.domain;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 药品信息维护 factory_info
 *
 * @author cj
 * @date 2022-10-15
 */

public class DrugInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private String id;

    /**
     * $column.columnComment
     */
    @Excel(name = "药品名称")
    private String drugName;

    /**
     * $column.columnComment
     */
    @Excel(name = "药品编码")
    private String drugCode;

    /**
     * $column.columnComment
     */
    @Excel(name = "生产厂家")
    private String factoryName;

    /**
     * $column.columnComment
     */
    @Excel(name = "药品类型")
    private String drugType;

    /**
     * $column.columnComment
     */
    @Excel(name = "处方类型")
    private String preType;


    @Excel(name = "单位")
    private String unit;
    /**
     * $column.columnComment
     */
    @Excel(name = "处方价格")
    private String prePrice;
    @Excel(name = "库存量")
    private int stock;
    /**
     * $column.columnComment
     */
    @Excel(name = "预警值")
    private int warn;
    @Excel(name = "换算量")
    private int covert;
    @Excel(name = "关键字")
    private int keyWord;
    /**
     * $column.columnComment
     */
    @Excel(name = "状态", readConverterExp = "0=正常，1=使用")
    private String status;

    public String getId() {
        return id;
    }

    public int getKeyWord() {
        return keyWord;
    }

    public void setKeyWord(int keyWord) {
        this.keyWord = keyWord;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDrugName() {
        return drugName;
    }

    public void setDrugName(String drugName) {
        this.drugName = drugName;
    }

    public String getDrugCode() {
        return drugCode;
    }

    public void setDrugCode(String drugCode) {
        this.drugCode = drugCode;
    }

    public String getFactoryName() {
        return factoryName;
    }

    public void setFactoryName(String factoryName) {
        this.factoryName = factoryName;
    }

    public String getDrugType() {
        return drugType;
    }

    public void setDrugType(String drugType) {
        this.drugType = drugType;
    }

    public String getPreType() {
        return preType;
    }

    public void setPreType(String preType) {
        this.preType = preType;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getPrePrice() {
        return prePrice;
    }

    public void setPrePrice(String prePrice) {
        this.prePrice = prePrice;
    }

    public int getStock() {
        return stock;
    }

    public void setStock(int stock) {
        this.stock = stock;
    }

    public int getWarn() {
        return warn;
    }

    public void setWarn(int warn) {
        this.warn = warn;
    }

    public int getCovert() {
        return covert;
    }

    public void setCovert(int covert) {
        this.covert = covert;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "DrugInfo{" +
                "id='" + id + '\'' +
                ", drugName='" + drugName + '\'' +
                ", drugCode='" + drugCode + '\'' +
                ", factoryName='" + factoryName + '\'' +
                ", drugType='" + drugType + '\'' +
                ", preType='" + preType + '\'' +
                ", unit='" + unit + '\'' +
                ", prePrice='" + prePrice + '\'' +
                ", stock=" + stock +
                ", warn=" + warn +
                ", covert=" + covert +
                ", keyWord=" + keyWord +
                ", status='" + status + '\'' +
                '}';
    }
}
